/*
 * @Author: your name
 * @Date: 2021-03-12 19:48:59
 * @LastEditTime: 2021-03-20 14:23:47
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \robotc:\Users\hechuan\Desktop\80\vue2_admin_system\vue.config.js
 */
module.exports = {
    // lintOnSave: false, // 关闭eslint 校验
    publicPath: process.env.NODE_ENV === 'production'
    ? '/init'
    : '/',
    devServer: {
        proxy: {
            '/proxy_app/*': {
                // target: 'http://localhost:4000/',
                target: 'https://www.wuguosong.top/',
                ws: true,
                changeOrigin: true,
                // pathRewrite:{
                //     '/proxy_app/':'/'
                // }
            }
        }
    }
} 